#ifndef GOODFEATURESTOTRACK_H
#define	GOODFEATURESTOTRACK_H

#include "Effect.h"
#include "Gray.h"

class GoodFeaturesToTrack : public Effect {
public:
    GoodFeaturesToTrack();
    virtual ~GoodFeaturesToTrack();

    virtual IplImage* apply(const IplImage* in);
    void process(const IplImage* in);
    
    int maxCornersCount, cornersCount;
    CvPoint2D32f* corners;

    CvArr* mask;

private:
    Gray grayEffect;

};

#endif	/* GOODFEATURESTOTRACK_H */

